
// Authors: Kyle Endres & Costas Panagopoulos
// Project: Who is mobilized to vote by information about voter ID laws?
// Date: 02/22/2021
// Task: PG&I Final Submission


use "C:\Users\endresk\Desktop\Dropbox\VA Study 2017\PG&I\R1\EndresPanagopoulosPGI2021.dta"

// Balance Table, Table 1
** reminder v. cntl
ttest party_estimated_democrat if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest party_estimated_democrat if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest party_estimated_democrat if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest party_estimated_independent if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest party_estimated_independent if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest party_estimated_independent if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest party_estimated_republican if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest party_estimated_republican if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest party_estimated_republican if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest black if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest black if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest black if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest white if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest white if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest white if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest latinx if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest latinx if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest latinx if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest age35 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest age35 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest age35 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest age50 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest age50 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest age50 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest age65 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest age65 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest age65 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest age80 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest age80 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest age80 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest age100 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest age100 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest age100 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest male if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest male if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest male if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout_2016 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout_2016 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout_2016 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2015 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2015 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2015 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2014 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2014 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2014 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout_2013 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout_2013 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout_2013 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2012 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2012 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2012 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2011 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2011 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2011 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2010 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2010 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2010 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2009 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2009 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2009 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2008 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2008 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2008 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2007 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2007 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2007 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout2006 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout2006 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout2006 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest turnout_primary_2017 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout_primary_2017 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout_primary_2017 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2016 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2016 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2016 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2015 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2015 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2015 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2014 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2014 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2014 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2013 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2013 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2013 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2012 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2012 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2012 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2011 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2011 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2011 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2010 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2010 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2010 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2009 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2009 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2009 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2008 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2008 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2008 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2007 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2007 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2007 if treat_reminder==0 & treat_rights==0, by(treatment)

** reminder v. cntl
ttest primary2006 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest primary2006 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest primary2006 if treat_reminder==0 & treat_rights==0, by(treatment)

// Endnote #3
mlogit treatment i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006, base(4)


// Table 2: Basic Experimental Results
** reminder v. cntl
ttest turnout_2017 if treat_rights==0 & treat_dont==0, by(treatment)
** rights v. cntl
ttest turnout_2017 if treat_reminder==0 & treat_dont==0, by(treatment)
** dont v. cntl
ttest turnout_2017 if treat_reminder==0 & treat_rights==0, by(treatment)

// Democrats
** reminder v. cntl
ttest turnout_2017 if treat_rights==0 & treat_dont==0 & party_estimated_democrat==1, by(treatment)
** rights v. cntl
ttest turnout_2017 if treat_reminder==0 & treat_dont==0 & party_estimated_democrat==1, by(treatment)
** dont v. cntl
ttest turnout_2017 if treat_reminder==0 & treat_rights==0 & party_estimated_democrat==1, by(treatment)

// Republicans
** reminder v. cntl
ttest turnout_2017 if treat_rights==0 & treat_dont==0 & party_estimated_republican==1, by(treatment)
** rights v. cntl
ttest turnout_2017 if treat_reminder==0 & treat_dont==0 & party_estimated_republican==1, by(treatment)
** dont v. cntl
ttest turnout_2017 if treat_reminder==0 & treat_rights==0 & party_estimated_republican==1, by(treatment)

// Independents
** reminder v. cntl
ttest turnout_2017 if treat_rights==0 & treat_dont==0 & party_estimated_independent==1, by(treatment)
** rights v. cntl
ttest turnout_2017 if treat_reminder==0 & treat_dont==0 & party_estimated_independent==1, by(treatment)
** dont v. cntl
ttest turnout_2017 if treat_reminder==0 & treat_rights==0 & party_estimated_independent==1, by(treatment)




** FIGURE 1 (Also Table A1): FULL SAMPLE, DEMOCRATS, REPUBLICANS. INDEPENDENTS WITH 90 AND 95% CI

* Full sample
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont 
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006, level(90)

* Democrats
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_democrat==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_democrat==1, level(90)

* Republicans
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_republican==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_republican==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_republican==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_republican==1, level(90)

*Independents
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_independent==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_independent==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_independent==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_independent==1, level(90)

** Table A2
* Full sample
logit turnout_2017 i.treat_reminder i.treat_rights i.treat_dont 
logit turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006

* Democrats
logit turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_democrat==1
logit turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_democrat==1

*Independents
logit turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_independent==1
logit turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_independent==1

* Republicans
logit turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if party_estimated_republican==1
logit turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_republican==1


** Table A3

regress turnout_2017 i.treat_dont if party_estimated_democrat==1 & treatment!=4
regress turnout_2017 i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if party_estimated_democrat==1 & treatment!=4



** Figure 2 (also Table A4)

* Low Propensity Registered Voters -- All races and Parties
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if lowpropensity==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if lowpropensity==1
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if lowpropensity==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if lowpropensity==1, level(90)


* Mid Propensity Registered Voters -- All races and Parties
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if midpropensity==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if midpropensity==1
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if midpropensity==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if midpropensity==1, level(90)


* High Propensity Registered Voters -- All races and Parties
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if turnout_2013and2016==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if turnout_2013and2016==1
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if turnout_2013and2016==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if turnout_2013and2016==1, level(90)


* Low Propensity Democrats -- All races
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if lowpropensity==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if lowpropensity==1 & party_estimated_democrat==1
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if lowpropensity==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if lowpropensity==1 & party_estimated_democrat==1, level(90)

* Mid Propensity Democrats -- All races
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if midpropensity==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if midpropensity==1 & party_estimated_democrat==1
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if midpropensity==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if midpropensity==1 & party_estimated_democrat==1, level(90)

* High Propensity Democrats -- All races
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if turnout_2013and2016==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if turnout_2013and2016==1 & party_estimated_democrat==1 
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if turnout_2013and2016==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if turnout_2013and2016==1 & party_estimated_democrat==1, level(90)


* Low Propensity Republicans -- All races
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if lowpropensity==1 & party_estimated_republican==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if lowpropensity==1 & party_estimated_republican==1
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if lowpropensity==1 & party_estimated_republican==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if lowpropensity==1 & party_estimated_republican==1, level(90)

* Mid Propensity Republicans -- All races
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if midpropensity==1 & party_estimated_republican==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if midpropensity==1 & party_estimated_republican==1
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if midpropensity==1 & party_estimated_republican==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if midpropensity==1 & party_estimated_republican==1, level(90)

* High Propensity Republicans -- All races
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if turnout_2013and2016==1 & party_estimated_republican==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if turnout_2013and2016==1 & party_estimated_republican==1 
** 90%CI
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if turnout_2013and2016==1 & party_estimated_republican==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if turnout_2013and2016==1 & party_estimated_republican==1, level(90)




** FIGURE 3 (also Table A5)

* Low Propensity Black Democrats
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==1 & lowpropensity==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==1 & lowpropensity==1 & party_estimated_democrat==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==1 & lowpropensity==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==1 & lowpropensity==1 & party_estimated_democrat==1, level(90)

* Mid Propensity Black Democrats
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==1 & midpropensity==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==1 & midpropensity==1 & party_estimated_democrat==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==1 & midpropensity==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==1 & midpropensity==1 & party_estimated_democrat==1, level(90)

* High Propensity Black Democrats
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==1 & turnout_2013and2016==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==1 & turnout_2013and2016==1 & party_estimated_democrat==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==1 & turnout_2013and2016==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==1 & turnout_2013and2016==1 & party_estimated_democrat==1, level(90)


* Low Propensity White Democrats
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==0 & lowpropensity==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==0 & lowpropensity==1 & party_estimated_democrat==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==0 & lowpropensity==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==0 & lowpropensity==1 & party_estimated_democrat==1, level(90)

* Mid Propensity White Democrats
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==0 & midpropensity==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==0 & midpropensity==1 & party_estimated_democrat==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==0 & midpropensity==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==0 & midpropensity==1 & party_estimated_democrat==1, level(90)


* High Propensity White Democrats
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==0 & turnout_2013and2016==1 & party_estimated_democrat==1
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==0 & turnout_2013and2016==1 & party_estimated_democrat==1

regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont if vf_race==0 & turnout_2013and2016==1 & party_estimated_democrat==1, level(90)
regress turnout_2017 i.treat_reminder i.treat_rights i.treat_dont i.male c.voters_age turnout_2016 turnout2015 turnout2014 turnout_2013 turnout2012 turnout2011 turnout2010 turnout2009 turnout2008 turnout2007 turnout2006  turnout_primary_2017 primary2016 primary2015 primary2014 primary2013 primary2012 primary2011 primary2010 primary2009 primary2008 primary2007 primary2006 if vf_race==0 & turnout_2013and2016==1 & party_estimated_democrat==1, level(90)

